﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Newtonsoft.Json;

namespace MeetingFinder
{
    public class ServerMeetingItem
    {
        [JsonProperty(PropertyName = "id")]
        public string id { get; set; }

        [JsonProperty(PropertyName = "title")]
        public string title { get; set; }

        [JsonProperty(PropertyName = "content")]
        public string content { get; set; }

        [JsonProperty(PropertyName = "creator_id")]
        public string creator_id { get; set; }

        [JsonProperty(PropertyName = "group_id")]
        public string group_id { get; set; }

        [JsonProperty(PropertyName = "is_confirmed")]
        public string is_confirmed { get; set; }

        [JsonProperty(PropertyName = "is_completed")]
        public string is_completed { get; set; }

        [JsonProperty(PropertyName = "f_location")]
        public string f_location { get; set; }

        [JsonProperty(PropertyName = "f_time")]
        public string f_time { get; set; }

        public MeetingItem.Status status { get; set; }
    }
}
